package cn.elwy.framework.controller;

/**
 * 错误页面的默认跳转(例如请求404的时候,默认走这个视图解析器)
 * @author huangsq
 * @version 1.0, 2018-02-19
 */
// @Component("error")
// public class ErrorView implements View {
//
// @Override
// public String getContentType() {
// return "text/html";
// }
//
// @Override
// public void render(Map<String, ?> map, HttpServletRequest httpServletRequest,
// HttpServletResponse httpServletResponse)
// throws Exception {
// httpServletRequest.getRequestDispatcher("/error").forward(httpServletRequest,
// httpServletResponse);
// }
// }
